// function ActionCreator(textType){
// 	return{
// 	type:textType
// 	}
// }
// export default const actionAdd:() => ActionCreator('AddCount');
// export default const actionSub:() => ActionCreator('SubCount');
const add='AddCount';
const sub='SubCount';   //or  undefined
export  function actionAdd(){
	return {
		type:add,	
		value:2
	}
}
export  function actionSub(){
	return {
		type:sub,
		value:2
	}
}